package com.wgo.surveyModel.wiring;

import java.util.HashSet;
import java.util.Set;

import com.wgo.bpot.wiring.db4o.Db4oDomainModelConvention;
import com.wgo.surveyModel.domain.common.SurveyDef;
import com.wgo.surveyModel.domain.common.helpers.Persistent;

/**
 * @author PEide3
 */
public class SurveyDomainModelConvention extends Db4oDomainModelConvention {
	
	/* (non-Javadoc)
	 * @see com.wgo.bpot.wiring.common.DomainModelConvention#getDomainModelInterface()
	 */
	public Class getDomainModelInterface() {
		return Persistent.class;
	}

	/* (non-Javadoc)
	 * @see com.wgo.bpot.wiring.common.DomainModelConvention#getRootConceptClass()
	 */
	public Set getRootConceptClasses() 
	{
		Set s =  new HashSet <Class>();
		s.add(SurveyDef.class);
		return s;
	}


	
}
